package com.hua.base;

public class SuperExtendDemo extends SuperDemo{
    private int z;


    public SuperExtendDemo(int x, int y,int z) {
        super(x, y);
        this.z = z;
    }

    @Override
    public void func() {
        super.func();
        System.out.println("superextend.func()");
    }


    public static void main(String[] args) {
        SuperExtendDemo superExtendDemo = new SuperExtendDemo(1,2,3);
        superExtendDemo.func();

    }
}
